{if $typecontroll eq 'question'}
{if $typepage eq 'form'}
	{assign var=title value='Take the test'}
	{assign var=message value='<b>Answer a few questions:</b><br/>'}
	
{else}
	{assign var=title value='Your score'}
	{assign var=message value='<b>Your score</b><br/>'}
{/if}
{else}



{/if}
		
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>{$title}</title>
</head>
<body>

{$message}
{if $typecontroll eq 'question'}
{if $typepage eq 'form'}
	{include file="form.tpl"}
{else}
	{include file="result.tpl"}
{/if}
{else}
{include file="login.tpl"}

{/if}

<br/><b>Using Smarty</b><br/>
</body>
</html>
